#include<stdio.h>
char ch;
int main()
{
	scanf("%c", &ch);
	printf("ordch=%d,prech=%c,succch=%c", ch, ch-1, ch+1);
	return 0;
}
